﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Base.Moain.Entities
{
    /// <summary>
    /// 产品溯源表
    /// </summary>
    public class Product
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ProductId { get; set; }
        /// <summary>
        /// 商品信息表id
        /// </summary>
        public int ShopId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string LotNumber {  get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ProductDay { get; set; }
        /// <summary>
        /// 生产许可号
        /// </summary>
        public string ProductNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string ProductEnterprise { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string ProductPicture { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public string ProductGress { get; set; }
        /// <summary>
        /// 逻辑删除 
        /// </summary>
        public bool IsDelete { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatePeople {  get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? createTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatePeople { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime updateTime { get; set; }

    }
}
